<?php $this->beginContent('//layouts/main'); ?>
<div class="span-19">
	<div id="content">
		<?php
		$properties = array(
			'block'=>true, // display a larger alert block?
			'fade'=>true, // use transitions?
			'closeText'=>'×',
			'alerts'=>array(
				'success'=>array(
					'block'=>true,
					'fade'=>true,
					'closeText'=>'×'
				), // success, info, warning, error or danger
			),
		);
		$this->widget('bootstrap.widgets.TbAlert', $properties);

		echo $content;
		?>
	</div><!-- content -->
</div>

<div class="span-5 last">
	<div id="sidebar">
		<?php
		$properties = array('title'=>'Operations');
		$this->beginWidget('zii.widgets.CPortlet', $properties);
		$data = array(
			'items'=>$this->menu,
			'htmlOptions'=>array('class'=>'operations'),
		);
		$this->widget('zii.widgets.CMenu', $data);
		$this->endWidget();
		?>
	</div><!-- sidebar -->
</div>
<?php $this->endContent(); ?>